<?php

/**
 * Subplant form.
 *
 * @package    seth
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class SubplantForm extends BaseSubplantForm
{
  public function configure()
  {
      //Field Enable
      $this->widgetSchema['enable'] = new sfWidgetFormChoice(array('choices'=>array(1=>'True',0=>'False')));
      $this->validatorSchema['enable'] = new sfValidatorChoice(array('choices'=>array_keys(array('True','False')))); 
  }
}
